﻿using Iworld.basis.Service;
using Iworld.Game.Service.Client.Export;
using Iworld.Game.Service.Client.Import;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Game.Service.Client
{
    /// <summary>
    /// 前台游戏服务
    /// </summary>
   [ServiceContract]
    public interface IGameService
   {
       /// <summary>
       /// 获取当前轮开奖信息
       /// </summary>
       [OperationContract]
       NormalResult<GameChapterExport> GetCurrentGameInfo(GetCurrentGameInfoImport import);

       /// <summary>
       /// 获取投注记录
       /// </summary>
       /// <param name="import"></param>
       /// <returns></returns>
       [OperationContract]
       PageResult<BettingRecordExport> GetBettingRecords(GetBettingRecordsImport import);

       /// <summary>
       /// 投注(压分)
       /// </summary>
       /// <param name="import"></param>
       /// <returns></returns>
       [OperationContract]
       NormalResult<BettingResultExport> Betting(BettingImport import);

       /// <summary>
       /// 获取当前用户压分信息
       /// </summary>
       /// <param name="import"></param>
       /// <returns></returns>
       [OperationContract]
       PageResult<CurrentBettingUsersInfoExport> GetCurrentBettingUsersInfo(GetCurrentBettingUsersInfoImport import);

   



   }
}
